﻿using System;

namespace IFD2
{
    public partial class RefundRuleLog : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["ACL"].ToString().IndexOf("FF4") < 0)
                {
                    Response.Redirect("unauthorized.aspx");
                }
                if (Request.QueryString["code"] != null)
                    lblRuleCode.Text = Request.QueryString["code"];
                else
                    lblError.Text = "Bad page calling!";
            }
        }

        protected void lbtnQuery_Click(object sender, EventArgs e)
        {
            GridView1.DataBind();
        }
    }
}